<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        /* 需要用两个变量来定义用户输入数据
        然后再进行算术运算 */
        let num1 = prompt('请输入数据');
        let num2 = prompt('请再输入数据');
        // console.log(num1 - num2);
        // console.log(num1 * num2);
        console.log(num1 / num2);
    </script>
</body>

</html>